#include "Sort.h"

void TestSort()
{
	//int a[] = {9,1,2,5,4,7,8,6,3,5,1,2,3,8,3};
	int a[] = { 9,1,2,5,7,4,8,6,3,5,1,2,3,5,1,8,3 };
	int n = sizeof(a) / sizeof(a[0]);

	ShellSort(a, n);
	Print(a, n);

	SelectSort(a, n);
	Print(a, n);

	HeapSort(a, n);
	Print(a, n);

	QuickSort(a, 0, n - 1);
	Print(a, n);
}


int main()
{
	TestSort();
	return 0;
}